<div class="cusform">
    <div class="info">
        <? $this->load->view('profile/left_menu') ?>
        <div class="info_r">
            <div class="sub_info">Lịch sử mua hàng</div>
            <div class="cart">
            	<div class="c_hd">
                	<div class="c_no">No.</div>
                    <div class="c_date">Date</div>
                    <div class="c_pro">Tên sản phẩm</div>
                    <div class="c_num">Số lượng</div>
                    <div class="c_price">Giá</div>
                </div>
                <? 
					$i=0;
					foreach ($list as $rs) : 
						$i++;
				?>
                <div class="c_bd">
                	<div class="c_no"><?=$i?></div>
                    <div class="c_date"><?=date('d/m/Y', strtotime($rs->dt_create))?></div>
                    <div class="c_pro"><?=$rs->pro_name?></div>
                    <div class="c_num"><?=$rs->nb_order?></div>
                    <div class="c_price"><?=pricevn($rs->pro_price)?></div>
                </div>
                <? endforeach ?>
            </div>
        </div>
    </div>
</div>
